import request from "@/utils/request";

// 获取印章信息列表
export function getSealList(params) {
  return request({
    url: `/system/signature/pageQuery`,
    method: "get",
    params,
  });
}

// 创建印章基本信息
export function saveSealInfo(data) {
  return request({
    url: `/system/signature/save`,
    method: "post",
    data,
  });
}

// 删除印章基本信息
export function deleteSealInfo(id) {
  return request({
    url: `/system/signature/delete/` + id,
    method: "delete",
  });
}

// 获取印章信息全部列表
export function getSealAllList() {
  return request({
    url: `/system/signature/getAllList`,
    method: "get",
  });
}
